# 基础镜像
FROM openjdk:11.0-jre-buster
# 设定时区
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV OSS_ACCESS_KEY_ID LTAI5tPC5J2xzL9c4PZ2xdHd
ENV OSS_ACCESS_KEY_SECRET q70bwtTXI5ZlEbTmr4ZCchhMHoRCy0
ENV QIANFAN_AK 0FvWITX3r81bDPJuQrpqtSCi
ENV QIANFAN_SK O4JlLmNnDf42ojuM2Tvv3kYP2uzduXaD

# 拷贝jar包
COPY zzyl-admin.jar /app.jar
# 入口
ENTRYPOINT ["java", "-jar", "/app.jar"]